package org.example.service;

import org.example.spring.ApplicationContext;

/**
 * 测试
 *
 * @author changxinglong
 * @version 1.0.0
 * @since 2024/10/29
 */
public class Test {
    public static void main(String[] args) throws ClassNotFoundException {
        ApplicationContext applicationContext = new ApplicationContext(AppConfig.class);
        UserService userService = (UserService) applicationContext.getBean("userService");
        userService.test();

    }
}
